package com.kalix.mooc.reply.api.biz;

import com.kalix.framework.core.api.biz.IBizService;
import com.kalix.framework.core.api.persistence.JsonData;
import com.kalix.framework.core.api.persistence.JsonStatus;
import com.kalix.mooc.reply.entities.DiscussBean;

/**
 * 功能描述:
 *
 * @Description: 讨论服务层
 * @Author: yyp
 * @CreateDate: 2019/5/20$ 10:23$
 * @updateDate: 2019/7/04$ 14:23$
 * @Version:
 */
public interface IDiscussBeanService extends IBizService<DiscussBean> {

    public JsonStatus addDiscuss(DiscussBean discuss);
    //回复管理左侧菜单
    JsonData getReplyForTree();
    //删除帖子及回复的功能
    void deleteAllById(long id);
    // 获取所有讨论关联cid(课程id)
    JsonData getAllDiscuss(String a);
}
